package com.xinhe.web.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
public class OrderSendModel {
    @ApiModelProperty("订单id")
    @NotNull(message = "订单参数不能为空")
    private Long orderId;
    @ApiModelProperty("物流公司id")
    @NotNull(message = "请选择物流公司")
    private Long logisticsCompanyId;
    @ApiModelProperty("快递单号")
    @NotBlank(message = "快递单号不能为空")
    private String courierNumber;
    @ApiModelProperty("发货人")
    @NotBlank(message = "发货人不能为空")
    private String sendPeople;
    @ApiModelProperty("发货人电话")
    @NotBlank(message = "发货人电话不能为空")
    private String sendPhone;
    @ApiModelProperty("发货地址")
    @NotBlank(message = "发货地址不能为空")
    private String sendAddress;
}
